
$(document).ready(function () {
   	            $('#enlace1').click(function () {

                    $("#dos").load("", function(response, status, xhr) {
		                if (status == "error") {
			                var msg = "Sorry but there was an error: ";
			                $("#error").html(msg + xhr.status + " " + xhr.statusText);
		                }
	                });
                });
        
                $('#enlace2').click(function () {  

                    $("#dos").load("nuevoUsuario.php", function(response, status, xhr) {
		                if (status == "error") {
			                var msg = "Sorry but there was an error: ";
			                $("#error").html(msg + xhr.status + " " + xhr.statusText);
		                }
	                });
                });

                 $('#enlace3').click(function () {  

                    $("#dos").load("ciudad.php", function(response, status, xhr) {
		                if (status == "error") {
			                var msg = "Sorry but there was an error: ";
			                $("#error").html(msg + xhr.status + " " + xhr.statusText);
		                }
	                });
                });
				
				$('#enlace4').click(function () {  

                    $("#dos").load("sucursal.php", function(response, status, xhr) {
		                if (status == "error") {
			                var msg = "Sorry but there was an error: ";
			                $("#error").html(msg + xhr.status + " " + xhr.statusText);
		                }
	                });
                });
				
				$('#enlace5').click(function () {  

                    $("#dos").load("reportes.php", function(response, status, xhr) {
		                if (status == "error") {
			                var msg = "Sorry but there was an error: ";
			                $("#error").html(msg + xhr.status + " " + xhr.statusText);
		                }
	                });
                });
				
				$('#enlace6').click(function () {  

                    $("#dos").load("marca.php", function(response, status, xhr) {
		                if (status == "error") {
			                var msg = "Sorry but there was an error: ";
			                $("#error").html(msg + xhr.status + " " + xhr.statusText);
		                }
	                });
                });
				
				
				$('#enlace8').click(function () {  

                    $("#dos").load("auto.php", function(response, status, xhr) {
		                if (status == "error") {
			                var msg = "Sorry but there was an error: ";
			                $("#error").html(msg + xhr.status + " " + xhr.statusText);
		                }
	                });
                });
					
					$('#enlace9').click(function () {  

                    $("#dos").load("autoSucursal.php", function(response, status, xhr) {
		                if (status == "error") {
			                var msg = "Sorry but there was an error: ";
			                $("#error").html(msg + xhr.status + " " + xhr.statusText);
		                }
	                });
                });

            });        